<template>
  <div class="warp">
    <div class="header"></div>
    <div class="title">房产（住房）情况</div>
    <div class="main-list">
      <div class="main-item">
        <div class="main-item-lable">房屋座落</div>
        <input class="main-item-input" type="text" />
      </div>
      <div class="main-item">
        <div class="main-item-lable">建筑面积</div>
        <input class="main-item-input" type="text" />
      </div>
      <div class="main-item">
        <div class="main-item-lable">购买/租赁时间</div>
        <input class="main-item-input" type="text" />
      </div>
      <div class="main-item">
        <div class="main-item-lable">产权人/出租人</div>
        <input class="main-item-input" type="text" />
      </div>
      <div class="main-item-select">
        <div class="main-item-lable">房屋来源：</div>
        <van-radio-group v-model="source">
          <van-radio v-for="(item, index) in sourceList" :name="index" :key="index">{{item}}</van-radio>
        </van-radio-group>
      </div>
    </div>
    <div class="main-add-list">
      <van-icon name="add-o" size="20" />
      <span>添加房产（住房）</span>
    </div>
    <div class="footer">
      <div class="footer-btn" @click="saveForm">下一步</div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'familyInfo',
  data () {
    return {
      source: '',
      sourceList: ['借住亲友产权房', '租住单位宿舍', '承租的市场住房', '直营公房', '经济适用住房', '廉租住房', '限价普通商品房', '商品住房', '房改房', '集资房', '拆迁安置房（含待入住', '非住宅用房', '其他住房']
    }
  },
  methods: {
    saveForm () {
      this.$router.push({
        path: 'housingIntention'
      })
    }
  }
}
</script>

<style lang="stylus" scoped></style>
